package com.gwl.pattern.proxy;

public class Controller {

	public static void main(String[] args) {
		
		IKindWomen k1 = new PanJinLian(); 
		IKindWomen k2 = new MisChen(); 
		IKindWomen k3 = new WangPo(k1); 
		IKindWomen k4 = new WangPo(k2); 
		
		k1.makeEyesWithMan(); 
		k1.happyWithMan(); 
		
		k2.makeEyesWithMan(); 
		k2.happyWithMan(); 
		
		k3.makeEyesWithMan(); 
		k3.happyWithMan(); 
		
		k4.makeEyesWithMan(); 
		k4.happyWithMan(); 
		
	}
	
}
